package com.common.entity;

import cn.hutool.json.JSONObject;
import com.common.annotation.Field;
import com.common.annotation.Table;
import com.common.mysql.convert.StringToJSONObjectConvert;

/**
 * @Description:
 * @Date: 2025/6/24 10:22
 */
@Table(value = "system_application_web", orderBy = "sort asc")
public class SystemApplicationWebEntity extends SimpleTreeEntity{
    @Field(alias = "app_id")
    private String appId;
    @Field(alias = "data", convert = StringToJSONObjectConvert.class)
    private JSONObject data;
    private String type;
    private String label;
    private String code;
    private String icon;
    private Integer sort;
    @Field(alias = "extra",convert = StringToJSONObjectConvert.class)
    private JSONObject extra;

    public JSONObject getExtra() {
        return extra;
    }

    public void setExtra(JSONObject extra) {
        this.extra = extra;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public JSONObject getData() {
        return data;
    }

    public void setData(JSONObject data) {
        this.data = data;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }
}
